fix 100 cpu usage